home *** CD-ROM | disk | FTP | other *** search
/ Easy Baby Massage / Easy Baby Massage.iso / pc / content / main.dcr / Internal_48_next pre.ls < prev    next >
Encoding:
Text File  |  2007-04-22  |  492 b   |  32 lines

  1. property pself, handle
  2.  
  3. on beginSprite
  4.   pself = sprite(the currentSpriteNum)
  5. end
  6.  
  7. on mouseEnter
  8. end
  9.  
  10. on mouseLeave
  11. end
  12.  
  13. on mouseWithin me
  14.   if the stillDown then
  15.     if the timeoutLapsed > 60 then
  16.       do(handle & " 0.02")
  17.     end if
  18.   end if
  19. end
  20.  
  21. on mouseDown
  22.   if handle <> VOID then
  23.     do(handle & " 0.05")
  24.   end if
  25. end
  26.  
  27. on getPropertyDescriptionList
  28.   description = [:]
  29.   addProp(description, #handle, [#default: EMPTY, #format: #string, #comment: "command"])
  30.   return description
  31. end
  32.